All Questions
Tagged with gitarch-linux
17 questions
0votes
1answer
183views
Automatically add ssh key based on directory I'm in
I have two GitHub accounts. One for personal use, and another for business. Each is set up with its own SSH key gh_personal and gh_business inside ~/.ssh. I have a personal project that sits in ~/code/...
1vote
0answers
437views
ssh hanging when adding -T parameter with specific router
I'm having a very strange problem. From a couple of days I'm having problems with git, ssh and vpn but only when using amazon eero router. Using my smartphone hotspot or even just connecting directly ...
0votes
1answer
372views
How to create a bash script that watches my local git repo and runs 'git log' every time I commit/checkout -b/push/status?
When I'm coding, I usually have 2 terminal tabs open in VSCode. The tab on the left is used for git commands. The tab on the right always has git log --all --graph --decorate --oneline showing me all ...
0votes
0answers
420views
Error installing packages on the user account with curl and git
I just installed Arch, and and a few Arcolinux spices here and there and configuring my fresh install I have noticed that when i use curl as a regular user in gives me an error like: $ sh -c "$(...
0votes
0answers
90views
Conditional Git alias within zsh: "parse error: condition expected: cd" [duplicate]
I'm trying to implement a simple stack of git-related aliases for my personal dotfiles. alias gs="[[ $(git rev-parse --is-inside-work-tree &> /dev/null) ]] || cd $D && git status -...
0votes
1answer
486views
How to makepkg a git repository outside of the file
I'm trying to build a file called command.sh, which will just host a series of terminal commands that will install the software I need when I decide to buy a new computer. Its just the convenience of ...
2votes
1answer
2kviews
How to properly solve "git-gui: command not found" on Arch Linux?
The Arch Linux git package installs git-gui under /usr/lib/git-core/. This means git-gui cannot be launched directly from the terminal without specifying the full path: $ git-gui bash: git-gui: ...
-1votes
2answers
50views
"Filename" vs "Filename-git"
What is the meaning of files that end in -git? For example, I searched in a Terminal for "xcb-imdkit" then pressed tab. xcb-imdkit comes up, as well as "xcb-imdkit-git".
1vote
1answer
259views
Tmux crashing tty_clamp_area
using tmux as my dev environment. I have a standard split with vim on top, a three panes bellow that, one running npm start, one running the nodejs backend and the other one for stuff like git status. ...
0votes
1answer
68views
Does the devtools package include git?
In the Arch Linux standard packages, does devtools include git or do I need to install git separately? How can I figure out the answer to similar questions on my own?
9votes
2answers
17kviews
Arch linux ca-certificates.crt not found
I have a problem with the certificates in Arch linux. It seems that it can't find ca-certificates.crt. I have updated my system and installed the ca-certificates{,-utils,-mozilla} packages and it ...
5votes
2answers
1kviews
Specify submodule revision in PKGBUILD
I'm trying to install hhvm-git package from AUR and getting an error. There is a bug in one of submodules. This bug is fixed already and I want to specify revision contains that fix for the submodule. ...
0votes
2answers
158views
Understanding what git branch means, in this context
I'm trying to understand what does this code means: function git_branch { git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \1/' } but I don't get it. Someone said this ...
0votes
1answer
318views
Recommended file system for cloning AUR-mirror?
I'm beginning to use Arch Linux and wanted to explore the AUR repository. Because of this motivation, I learned two things immediately. Ext3 can support only 32000 sub-directories. (I ran into cannot ...
27votes
7answers
23kviews
How to modify a PKGBUILD which uses git sources to pull only a shallow clone?
The other day I tried installing opencv-git from the AUR with makepkg on Arch Linux. Of course it pulls from the git repository as the name indicates. This pulls 1Gb. I am reading about making a ...